package com.erp.order.supply.service.impl;

import com.erp.hr.base.service.impl.BaseServiceImpl;
import com.erp.hr.base.vo.LegalityResultVO;
import com.erp.order.supply.dao.SupplyMaterialDetailDao;
import com.erp.order.supply.dao.SupplyMaterialRDao;
import com.erp.order.supply.model.SupplyMaterialDetail;
import com.erp.order.supply.service.SupplyMaterialDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SupplyMaterialDetailServiceImpl extends BaseServiceImpl<SupplyMaterialDetailDao, SupplyMaterialDetail>
        implements SupplyMaterialDetailService {

    @Autowired
    private SupplyMaterialDetailDao supplyMaterialDetailDao;

    @Override
    public SupplyMaterialDetail addCompleteData(SupplyMaterialDetail supplyMaterialDetail) {
        return supplyMaterialDetailDao.addCompleteData(supplyMaterialDetail);
    }

    @Override
    public List<SupplyMaterialDetail> addCompleteData(List<SupplyMaterialDetail> list) {
        return null;
    }

    @Override
    public LegalityResultVO isLegalityData(SupplyMaterialDetail supplyMaterialDetail) {
        return null;
    }

    @Override
    public boolean save(SupplyMaterialDetail supplyMaterialDetail) {
        return false;
    }

    @Override
    public boolean update(SupplyMaterialDetail supplyMaterialDetail) {
        return false;
    }

    @Override
    public boolean linkDelete(Long id) {
        return false;
    }

    @Override
    public List<SupplyMaterialDetail> getDatasByRid(String valueOf) {
        return supplyMaterialDetailDao.getDatasByRid(valueOf);
    }
}
